//实现对象的深拷贝
export const copyDeepObject = (srcObject) => {
  if (typeof srcObject != 'object' || srcObject == null) {
    return srcObject
  }
  const destObject = {}
  for (let key in srcObject) {
    if (typeof srcObject[key] == 'object') {
      copyDeepObject(srcObject[key])
    } else {
      destObject[key] = srcObject[key]
    }
  }
  return destObject
}
